package com.leoandroid.tool.toolsbox.bean;

import org.jetbrains.annotations.NotNull;

import java.util.ArrayList;

public class WordInfoBean {
    @NotNull
    private ArrayList<WordsResultBean> words_result;
    @NotNull
    private String words_result_num;

    public static class WordsResultBean {
        @NotNull
        private String words;

        public WordsResultBean(@NotNull String str) {
            this.words = str;
        }

        @NotNull
        public String getWords() {
            return this.words;
        }

        public int hashCode() {
            return this.words.hashCode();
        }

        @NotNull
        public String toString() {
            return "WordsResultBean(words=" + this.words + ')';
        }
    }

    public WordInfoBean(@NotNull String str, @NotNull ArrayList<WordsResultBean> arrayList) {
        this.words_result_num = str;
        this.words_result = arrayList;
    }

    @NotNull
    public ArrayList<WordsResultBean> getWords_result() {
        return this.words_result;
    }

    @NotNull
    public String getWords_result_num() {
        return this.words_result_num;
    }

    public int hashCode() {
        return (this.words_result_num.hashCode() * 31) + this.words_result.hashCode();
    }

    @NotNull
    public String toString() {
        return "WordInfoBean(words_result_num=" + this.words_result_num + ", words_result=" + this.words_result + ')';
    }
}
